package com.pretty.test.controller.system.menu.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

/**
 * 系统菜单列表视图返回
 * @author dujianyu
 * @since 2021-04-09
 */
@Data
public class MenuListVO {


    /**
     * id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /**
     * 标题
     */
    private String text;

    /**
     * 路径
     */
    private String link;

    /**
     * 父级ID
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long parentId;

    /**
     * 排序
     */
    private Integer sort;

}
